<!DOCTYPE html>
<html>
<!-- Created by GNU Texinfo 7.1, https://www.gnu.org/software/texinfo/ -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<!-- This file documents the use of the GNU compilers.

Copyright © 1988-2023 Free Software Foundation, Inc.

Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with the
Invariant Sections being "Funding Free Software", the Front-Cover
Texts being (a) (see below), and with the Back-Cover Texts being (b)
(see below).  A copy of the license is included in the section entitled
"GNU Free Documentation License".

(a) The FSF's Front-Cover Text is:

A GNU Manual

(b) The FSF's Back-Cover Text is:

You have freedom to copy and modify this GNU Manual, like GNU
     software.  Copies published by the Free Software Foundation raise
     funds for GNU development. -->
<title>VMS Options (Using the GNU Compiler Collection (GCC))</title>

<meta name="description" content="VMS Options (Using the GNU Compiler Collection (GCC))">
<meta name="keywords" content="VMS Options (Using the GNU Compiler Collection (GCC))">
<meta name="resource-type" content="document">
<meta name="distribution" content="global">
<meta name="Generator" content="makeinfo">
<meta name="viewport" content="width=device-width,initial-scale=1">

<link href="index.html" rel="start" title="Top">
<link href="Indices.html" rel="index" title="Indices">
<link href="index.html#SEC_Contents" rel="contents" title="Table of Contents">
<link href="Submodel-Options.html" rel="up" title="Submodel Options">
<link href="VxWorks-Options.html" rel="next" title="VxWorks Options">
<link href="Visium-Options.html" rel="prev" title="Visium Options">
<style type="text/css">
<!--
a.copiable-link {visibility: hidden; text-decoration: none; line-height: 0em}
kbd.key {font-style: normal}
span:hover a.copiable-link {visibility: visible}
-->
</style>


</head>

<body lang="en_US">
<div class="subsection-level-extent" id="VMS-Options">
<div class="nav-panel">
<p>
Next: <a href="VxWorks-Options.html" accesskey="n" rel="next">VxWorks Options</a>, Previous: <a href="Visium-Options.html" accesskey="p" rel="prev">Visium Options</a>, Up: <a href="Submodel-Options.html" accesskey="u" rel="up">Machine-Dependent Options</a> &nbsp; [<a href="index.html#SEC_Contents" title="Table of contents" rel="contents">Contents</a>][<a href="Indices.html" title="Index" rel="index">Index</a>]</p>
</div>
<hr>
<h4 class="subsection" id="VMS-Options-1"><span>3.19.52 VMS Options<a class="copiable-link" href="#VMS-Options-1"> &para;</a></span></h4>

<p>These &lsquo;<samp class="samp">-m</samp>&rsquo; options are defined for the VMS implementations:
</p>
<dl class="table">
<dt><a id="index-mvms_002dreturn_002dcodes"></a><span><code class="code">-mvms-return-codes</code><a class="copiable-link" href="#index-mvms_002dreturn_002dcodes"> &para;</a></span></dt>
<dd><p>Return VMS condition codes from <code class="code">main</code>. The default is to return POSIX-style
condition (e.g. error) codes.
</p>
</dd>
<dt><a id="index-mdebug_002dmain_003dprefix"></a><span><code class="code">-mdebug-main=<var class="var">prefix</var></code><a class="copiable-link" href="#index-mdebug_002dmain_003dprefix"> &para;</a></span></dt>
<dd><p>Flag the first routine whose name starts with <var class="var">prefix</var> as the main
routine for the debugger.
</p>
</dd>
<dt><a id="index-mmalloc64"></a><span><code class="code">-mmalloc64</code><a class="copiable-link" href="#index-mmalloc64"> &para;</a></span></dt>
<dd><p>Default to 64-bit memory allocation routines.
</p>
</dd>
<dt><a id="index-mpointer_002dsize_003dsize"></a><span><code class="code">-mpointer-size=<var class="var">size</var></code><a class="copiable-link" href="#index-mpointer_002dsize_003dsize"> &para;</a></span></dt>
<dd><p>Set the default size of pointers. Possible options for <var class="var">size</var> are
&lsquo;<samp class="samp">32</samp>&rsquo; or &lsquo;<samp class="samp">short</samp>&rsquo; for 32 bit pointers, &lsquo;<samp class="samp">64</samp>&rsquo; or &lsquo;<samp class="samp">long</samp>&rsquo;
for 64 bit pointers, and &lsquo;<samp class="samp">no</samp>&rsquo; for supporting only 32 bit pointers.
The later option disables <code class="code">pragma pointer_size</code>.
</p></dd>
</dl>

</div>



</body>
</html>
